From: Florian Müllner Date: Wed, 18 Sep 2013 19:39:23 +0000 (+0200) Subject: keyring: Don't allow ellipsization of Password label X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3382 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=30e74408516fe2e7b67dfaa755c3a45e0b9e2938;p=gnome-shell.git keyring: Don't allow ellipsization of Password label We don't want the password entry to grow when entering more characters that fit the available width; as labels' ClutterText ellipsizes by default, the password label allows the entry to grow by shrinking. Setting the appropriate ellipsize mode fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=708324 --- diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 521b91830..a1a626798 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -89,6 +89,7 @@ const KeyringDialog = new Lang.Class({ if (this.prompt.password_visible) { let label = new St.Label({ style_class: 'prompt-dialog-password-label' }); label.set_text(_("Password:")); + label.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; layout.pack(label, 0, row); layout.child_set(label, { x_expand: false, y_fill: false, x_align: Clutter.TableAlignment.START });